amigo
Class AmigoImpl

java.lang.Object
  extended by amigo.Amigo
      extended by amigo.AmigoImpl
All Implemented Interfaces:
java.io.Serializable, RAExternalAgentInterface

public class AmigoImpl
extends Amigo

An implementation of the Amigo class that does not return any camera values.

Author:
Steven de Jong
See Also:
Serialized Form

Constructor Summary
AmigoImpl()
           
 
Method Summary
 RADataType getCameraValue()
          In your own implementation of Amigo.java, implement this method for the camera operation to work.
 
Methods inherited from class amigo.Amigo
connect, disconnect, getSensorIDs, getSensorValue, initRobot, initRobot, robotGo
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AmigoImpl

public AmigoImpl()
Method Detail

getCameraValue

public RADataType getCameraValue()
                          throws RAException
In your own implementation of Amigo.java, implement this method for the camera operation to work. Basically just change the values of the string and doubles that are now filled with zeroes in the first lines of the code! The rest of the code is okay the way it is.

Specified by:
getCameraValue in class Amigo
Throws:
RAException